package com.mnsq.permission.controller;

import com.mnsq.common.controller.BaseController;
import com.mnsq.common.service.BaseService;
import com.mnsq.permission.bean.condition.RoleCondition;
import com.mnsq.permission.bean.entity.Role;
import com.vwkit.common.bean.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 周俭
 */
@RestController
@RequestMapping("/api/sys/role/")
public class RoleController extends BaseController<Role, BaseService<Role, RoleCondition>, RoleCondition> {

    @GetMapping("/menus")
    public Result roleMenus(Long roleId){
        return Result.success(null);
    }
}
